@echo off
rem 需要安装phantomjs运行环境，依赖于nodejs
rem cnpm i -g phantomjs

rem 如果直接动态的页面内容，可以参考如下URL
rem     http://theholmesoffice.com/how-to-build-a-simple-webpage-in-node-js/
rem html页面基于 https://github.com/abel533/ECharts 中test例子

call phantomjs exp.js bar1.html bar1.png 1024px*768px

call phantomjs exp.js funnel.html funnel.png 1024px*768px
call phantomjs exp.js heatmap.html heatmap.png 1024px*768px
call phantomjs exp.js line.html line.png 1024px*768px